SetCalendarText(String[],String[],String[],String[],String,String,String) Method
In This Topic
Sets the various text elements for the pop-up calendar, including the day and month names, the today text, and the button text.
Syntax
'Declaration
Public Overloads Sub SetCalendarText( _
ByVal () As String, _
ByVal () As String, _
ByVal () As String, _
ByVal () As String, _
ByVal As String, _
ByVal As String, _
ByVal As String _
)
'Usage
Dim instance As DateTimeCellType
Dim dayNames() As String
Dim monthNames() As String
Dim shortdayNames() As String
Dim shortmonthNames() As String
Dim okText As String
Dim cancelText As String
Dim currentText As String
instance.SetCalendarText(dayNames, monthNames, shortdayNames, shortmonthNames, okText, cancelText, currentText)
public void SetCalendarText(
string[] ,
string[] ,
string[] ,
string[] ,
string ,
string ,
string
)
Parameters
- dayNames
- Set of day names
- monthNames
- Set of month names
- shortdayNames
- Set of abbreviated day names
- shortmonthNames
- Set of abbreviated month names
- okText
- Text for the OK button
- cancelText
- Text for the Cancel button
- currentText
- Text for the Today button or Now button
See Also